<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JQ基本选择器</title>
   <script src="../../../../../lib/JQuery3.7.1.js"></script>
</head>
<body>
  <div id="div_id"></div>
  <div class="div_class"></div>
  <ul>
    <li></li>
    <li></li>
  </ul>

<script>
  console.log($('div_id'));
  console.log($('div_class'));
  console.log("获取所有li元素:")
  console.log($('li'))
  console.log("获取所有元素:")
  console.log($('*'));
  console.log("获取多个元素:")
  console.log($('#div_id,.div_class'))
</script>
</body>
</html>